﻿using System;


namespace HAVNet.CoreTesting
{
    public interface IColeccionPedorra<T>
    {
        T this[int i] { get; set; }
    }

    class XX : IColeccionPedorra<int>
    {
        int [] arr = new int[100];

        int IColeccionPedorra<int>.this[int i]
        {
            get
            {
                return 666;
            }
            set
            {
                arr[i] = value;
            }
        }
    }

    internal class OtraConIndizadorNormal<U>
    {
        protected U [] arr = new U [1000];

        public U this [int index]
        {
            get
            {
                return arr[index];
            }
            set
            {
                arr[index] = value;
            }
        }
    }
}
